﻿using System;

namespace ServerUtils
{
    public class InvokerErrorEventArgs : EventArgs
    {
        public InvokerErrorEventArgs(Exception exception, int exceptionCount)
        {
            this.Exception = exception;
            this.ExceptionCount = exceptionCount;
        }

        public Exception Exception { get; private set;  }

        public int ExceptionCount { get; private set; }

        public bool ExceptionHandled { get; set; }
    }
}
